.trending {
  max-width: 60%;
  margin: 0 auto;
  margin-top: 100px;
  position: absolute;
  right: 0;
  top: 0;
}

.ranking-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 15px;
  color: rgb(175, 116, 116);
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pink {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: #fff;
}

.blue {
  background: linear-gradient(135deg, #6190e8, #a7bfe8);
  color: #fff;
}

.ranking-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.ranking-header p {
  opacity: 0.9;
}

.ranking-list {
  overflow-y: auto;
  height: 70dvh;
}

.ranking-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.ranking-item:not(:last-child) {
  margin-bottom: 5px;
}

.ranking-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.item-header {
  display: flex;
  align-items: center;
  padding: 10px 5px;
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: white;
}

.rank {
  font-size: 1.4rem;
  font-weight: bold;
  margin-right: 15px;
  min-width: 40px;
  text-align: center;
}

.rank-1 {
  color: #ffd700;
}

.rank-2 {
  color: #c0c0c0;
}

.rank-3 {
  color: #cd7f32;
}

.item-info {
  flex: 1;
}

.item-title {
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.item-meta {
  font-size: 0.8rem;
  opacity: 0.9;
}

.item-content {
  padding: 5px;
}

.heat-bar {
  height: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.heat-progress {
  height: 100%;
  background: linear-gradient(90deg, #ff7675, #f54ea2);
  border-radius: 4px;
}

.heat-value {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 5px;
}

.heat-value-span {
  color: #ff6b6b !important;
}

.item-description {
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  background-color: #f1f1f1;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 5px;
  color: #555;
}

.tags {
  margin-top: 5px;
}

@media (max-width: 768px) {
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .ranking-header h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .item-header {
    flex-direction: column;
    text-align: center;
  }

  .rank {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
